{if !$bDisabled}
    <div style="text-align:center;">
    
    {if !$bIsRated}
    <div style="padding:6px;font-size:9pt;" class="color">
    <form method="post" action="{$sUrl}">
        <input type="hidden" name="act" value="rate_user">
        <input type="submit" name="rating" value="1"
            style="padding-left:5px;padding-right:5px;margin-left:2px;background:#9dd8ff;cursor:pointer;color:#000;font-weight:bold;" onmouseover="this.style.backgroundColor='#c0c0c0';"
            onmouseout="this.style.backgroundColor='#9dd8ff';" />
        <input type="submit" name="rating" value="2"
            style="padding-left:5px;padding-right:5px;margin-left:2px;background:#b3e6ff;cursor:pointer;color:#000;font-weight:bold;" onmouseover="this.style.backgroundColor='#c0c0c0';"
            onmouseout="this.style.backgroundColor='#b3e6ff';" />
        <input type="submit" name="rating" value="3"
            style="padding-left:5px;padding-right:5px;margin-left:2px;background:#caf7ff;cursor:pointer;color:#000;font-weight:bold;" onmouseover="this.style.backgroundColor='#c0c0c0';"
            onmouseout="this.style.backgroundColor='#caf7ff';" />
        <input type="submit" name="rating" value="4"
            style="padding-left:5px;padding-right:5px;margin-left:2px;background:#e4ffff;cursor:pointer;color:#000;font-weight:bold;" onmouseover="this.style.backgroundColor='#c0c0c0';"
            onmouseout="this.style.backgroundColor='#e4ffff';" />
        <input type="submit" name="rating" value="5"
            style="padding-left:5px;padding-right:5px;margin-left:2px;background:#f7ffff;cursor:pointer;color:#000;font-weight:bold;" onmouseover="this.style.backgroundColor='#c0c0c0';"
            onmouseout="this.style.backgroundColor='#f7ffff';" />
        <input type="submit" name="rating" value="6"
            style="padding-left:5px;padding-right:5px;margin-left:2px;background:#ffe7e6;cursor:pointer;color:#000;font-weight:bold;" onmouseover="this.style.backgroundColor='#c0c0c0';"
            onmouseout="this.style.backgroundColor='#ffe7e6';" />
        <input type="submit" name="rating" value="7"
            style="padding-left:5px;padding-right:5px;margin-left:2px;background:#ffbdbc;cursor:pointer;color:#000;font-weight:bold;" onmouseover="this.style.backgroundColor='#c0c0c0';"
            onmouseout="this.style.backgroundColor='#ffbdbc';" /> 
        <input type="submit" name="rating" value="8"
            style="padding-left:5px;padding-right:5px;margin-left:2px;background:#ffa4a5;cursor:pointer;color:#000;font-weight:bold;" onmouseover="this.style.backgroundColor='#c0c0c0';"
            onmouseout="this.style.backgroundColor='#ffa4a5';" />
        <input type="submit" name="rating" value="9"
            style="padding-left:5px;padding-right:5px;margin-left:2px;background:#ff5b5c;cursor:pointer;color:#000;font-weight:bold;" onmouseover="this.style.backgroundColor='#c0c0c0';"
            onmouseout="this.style.backgroundColor='#ff5b5c';" />
        <input type="submit" name="rating" value="10"
            style="padding-left:5px;padding-right:5px;margin-left:2px;background:#fa2225;cursor:pointer;color:#000;font-weight:bold;" onmouseover="this.style.backgroundColor='#c0c0c0';"
            onmouseout="this.style.backgroundColor='#fa2225';" />
    </form>
    </div>
    {else}
        {language text="you_have_rated_this_user"}<br /><br />
    {/if}
    {Account::Avatar sUser=$aUser.user iSize=120 class="pic1" onmouseover="showInfo5('`$aUser.user`', '', '');this.className='pic2';" onmouseout="this.className='pic1';return nd();"}
    <div style="padding:6px;"><b>{language text="average_rating"}:</b> {$aRateInfo.average|string_format:"%.2f"} - <b>{language text="total_ratings"}:</b> {$aRateInfo.total}</div>
    
    </div>
{else}
{language text="section_disabled"}
{/if}    
<br />
<br />